package NetEase;

import java.util.Scanner;

public class Main3 {
    public static void main(String[] args) {
        Scanner cin=new Scanner(System.in);
        int n=cin.nextInt();
        for (int i = 2; i <= n; i+=2) {
            System.out.print(i);
            System.out.print(" ");
        }
        for (int i = 1; i <= n; i+=2) {
            System.out.print(i);
            System.out.print(" ");
        }
    }
}
